package org.csmzxy.class2333;
interface Department1{
    void work();
    static void AcceptRemark(){
        System.out.println("接受本月任务");
    }
    static void ReportWork(){
        System.out.println("汇报本月工作");
    }
    default void workflow(){
        AcceptRemark();
        work();
        ReportWork();
    }

}
//技术部门
class TechDepartment1 implements Department1{
    @Override
    public void work(){
        System.out.println("技术部门本月的工作内容是完成购物平台的开发");
    }
}
public class Example10 {
    public static void main(String[]args){
        TechDepartment1 t =new TechDepartment1();
        t.workflow();
    }
}
